﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace zichan.Models
{
    public class MenuModel
    {
        [Display(Name = "菜单名称")]
        [Required]
        [StringLength(20)]
        public string Title { get; set; }
        public string Controller { get; set; }
        public string Action { get; set; }
        public string Ico { get; set; }
        [Display(Name = "排序编号")]
        [Required]
        public int Sort { get; set; }

        [Display(Name = "备注")]
        [StringLength(50)]
        public string Remark { get; set; }

        public int Pid { get; set; }
    }
}